package com.masterclient.app.modules.search.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.masterclient.app.R;
import com.masterclient.app.modules.search.beans.SearchAssociateBean;

/**
 * @auther hjian
 * @date 2020/8/26.
 */
public class SearchAssociateAdapter extends BaseQuickAdapter<SearchAssociateBean, BaseViewHolder> {

    public SearchAssociateAdapter() {
        super(R.layout.item_search_associate);
    }

    @Override
    protected void convert(BaseViewHolder helper, SearchAssociateBean item) {
        helper.setText(R.id.item_search_associate_text, item.getKey_word());
    }
}
